if (foo is None
        and bar == 42):
    pass